package com.quanquan.store.repository.marketActivity.collectCards;

import com.quanquan.store.entity.marketActivity.collectCards.CollectCardsCard;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @ClassName CollectCardsCardRepository
 * @Description
 * @Author Owen
 * @Date 2019/9/19 0019 下午 5:48
 * @Version V1.0
 **/
public interface CollectCardsCardRepository extends JpaRepository<CollectCardsCard,Long> {

    List<CollectCardsCard> findAllByActivityIdAndStatusOrderBySortAsc(Long activityId, Integer status);
}
